package dao;

import pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {

    int insertUser(User user) throws SQLException;

    int deleteById(Integer id) throws SQLException;

    int updateUser(User user) throws SQLException;

    List<Object> queryAllUser() throws SQLException;

}
